package com.bit.cfdi.web.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.bit.cfdi.web.domain.Giro;
import com.bit.cfdi.web.domain.Negocio;

public interface GiroDAO {
	
	public void save(final Giro giro) throws DataAccessException;
	
	public List<Giro> getAll() throws DataAccessException;
	
	public Giro getGiroByNegocio(final Negocio negocio) throws DataAccessException;

	public List<Giro> getGiroDefault() throws DataAccessException;
	
	public Giro getGiroByDescripcion(final String descripcion) throws DataAccessException;
	
}